Repository navigation
MOBILE-647: Move the Expo example to SDK 58 and the scene life cycle - #72
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the Expo SDK 58 example update.
No open issues 🎉
What changed in this PR
Updates the Mindbox Expo example to SDK 58, adopting the template’s iOS scene lifecycle to align with the React Native example. Universal-link tracking remains dependent on #71.
Changes:
- Upgrades Expo, React Native, React, and related dependencies.
- Moves splash-screen settings to the
expo-splash-screenplugin and registersexpo-status-bar. - Refreshes the Yarn lockfile for the upgraded dependency set.
| File | Description |
|---|---|
examples/MindboxExpoExample/yarn.lock |
Locks the upgraded dependencies and new splash-screen package. |
examples/MindboxExpoExample/package.json |
Updates runtime and development dependencies for SDK 58. |
examples/MindboxExpoExample/app.json |
Migrates splash configuration and registers the status-bar plugin. |
Review effort: Balanced
Apps built with the iOS 27 SDK must adopt the scene-based life cycle. Expo SDK 58 is the first whose template does: prebuild adds a SceneDelegate based on ExpoAppSceneDelegate and the scene manifest, so the example only needs the upgrade. SDK 58 drops the top-level splash key; its settings move to the expo-splash-screen plugin.
Release builds of the example run R8, and the 2.15.2 Android SDK has no keep rules for the HMS classes it references, so R8 stopped the build; with those rules added by hand the APK crashed at start in WorkManager. The 2.16.0 SDK builds and starts on Android and iOS.
justSmK
force-pushed
the
feature/MOBILE-647-expo-example-scenes
branch
from
November 16, 2026 12:12
7868cfd to
f6dd806
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Expo SDK 58 template generates a
SceneDelegateonExpoAppSceneDelegate, so the example moves to SDK 58 and runs under the scene life cycle, as the React Native example did in mindbox-cloud/react-native-sdk#242. SDK 58 drops the top-levelsplashkey; its settings move to theexpo-splash-screenplugin.expo-doctorpasses 20/20.The wrapper moves to 2.16.0: with 2.15.2 the Android release build stopped in R8 on HMS classes the SDK references.
Checked on an iOS 26.5 simulator, Xcode 26.6: a launch sends a direct visit; a push tap on a killed app sends the click and the push visit and reaches
onPushClickReceivedin JS; the 2.16.0 release build starts and migrates the 2.15.2 data. Universal links reach Mindbox only with #71.Android needs a plugin release before the example builds from a clean cache: plugin 1.0.5 adds the old RuStore repository, which now answers 404 (fixed on
developby #67), and addsfirebase-messagingwithout a version, which AGP 9 no longer resolves on the compile classpath. With both patched locally, the 2.16.0 release APK builds with R8 on an emulator, starts and initializes the SDK.